Reads a Pascal string from the stream and returns it as a String. The optional parameter Encoding enables you to specify the encoding to be defined on the returned string.
Syntax |
|---|
|
result = BinaryStream.ReadPString( [Encoding] ) |
Parameters |
|
|---|---|
|
Encoding |
TextEncoding (Optional) |
Return Value |
|
|---|---|
|
Result |
|